﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Presentacion/MasterPage/MasterPage.Master" AutoEventWireup="true" CodeBehind="ModificarSeccionPractica.aspx.cs" Inherits="vudu.Presentacion.Vista.VU_05_Gestionar_Practicas_por_Materia.ModificarSeccionPractica" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
<asp:Panel ID="Panel1" runat="server" BorderStyle="Solid" BorderWidth="1px">
        <table width="94%" border="0" cellspacing="0" cellpadding="0" align="center">
            <tr>
                <td align="right">
                    Escuela:&nbsp;
                    <asp:Label ID="labelEscuela" runat="server" />
                </td>
            </tr>
        </table>
        <table width="89%" border="0" cellspacing="0" cellpadding="0" align="center">
            <tr>
                <td colspan="2">&nbsp;</td>
            </tr>
            <tr>
                <td colspan="2">&nbsp;</td>
            </tr>
            <tr>
                <td colspan="2"><a class="tituloGeneral">Gestionar Secciones de Práctica</a><a class="subtituloGeneral">Modificar Sección de Práctica</a></td> 
            </tr>
            <tr>
                <td colspan="2" style="text-align: center">
                    &nbsp;<asp:Label ID="labelStatus" runat="server" Text="" Visible="True" 
                            style="text-align: center; font-weight: 700" ForeColor="#009933" />
                </td>
            </tr>
            <tr>
                <td colspan="2">   
                    <fieldset><legend><strong>Datos de la sección</strong></legend>
                    <br />
                        <table align="center">
                            <tr>
                                <td align="center" colspan="3">Introduzca la informacion a continuación:</td>
                                <td>&nbsp;</td>
                                <td>&nbsp;</td>
                                <td style="width: 100px">&nbsp;</td>
                            </tr>
                            <tr>
                                <td align="left"> &nbsp;</td>
                                <td align="left">&nbsp;</td>
                                <td style="width: 185px">&nbsp;</td>
                                <td>&nbsp;</td>
                                <td>&nbsp;</td>
                                <td style="width: 100px">&nbsp;</td>
                            </tr>
                            <tr>
                                <td align="left">&nbsp;</td>
                                <td class="label" align="left">
                                    <asp:Label ID="labelOMateria" runat="server" ForeColor="Red" Text="*" Width="16px" />
                                    <asp:Label ID="labelMateria" runat="server" Text="Materia: " Visible="true" />
                                </td>
                                <td style="width: 185px">
                                    <asp:DropDownList ID="ddlMateria" runat="server" Width="185" 
                                    onselectedindexchanged="ddlMateria_onselectedindexchanged" AutoPostBack="true" >
                                        <asp:ListItem Value="0">- Seleccionar -</asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td>&nbsp;</td>
                                <td>&nbsp;</td>
                                <td style="width: 100px">&nbsp;</td>
                            </tr>
                            <tr>
                                <td align="left"> &nbsp;</td>
                                <td align="left">&nbsp;</td>
                                <td style="width: 185px">&nbsp;</td>
                                <td>&nbsp;</td>
                                <td>&nbsp;</td>
                                <td style="width: 100px">&nbsp;</td>
                            </tr>
                            <tr>
                                <td align="left">&nbsp;</td>
                                <td class="label" align="left">
                                    <asp:Label ID="labelOSeccTeoria" runat="server" Visible="false" ForeColor="Red" Text="*" Width="16px" />
                                    <asp:Label ID="labelSeccTeoria" runat="server" Visible="false" Text="Seccion Teorica:" /></td>
                                <td style="width: 185px">
                                    <asp:DropDownList ID="ddlSeccTeoria" runat="server" Width="185" 
                                    onselectedindexchanged="ddlSeccTeoria_onselectedindexchanged" AutoPostBack="true" Visible="false" >
                                        <asp:ListItem Value="0">- Seleccionar -</asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td>&nbsp;</td>
                                <td><%--
                                 <asp:Label ID="Label14" runat="server" ForeColor="Red" Text="*" Width="8px"></asp:Label>--%>
                                    <asp:Label ID="labelHrsReq" runat="server" Text="Horas Prácticas Requeridas:" Visible = "false" />
                                </td>
                                <td style="width: 100px">
                                    <asp:Label ID="labelNumHrsReq" Text="0" Visible="false" runat="server" />
                                </td>
                            </tr>
                            <tr>
                                <td align="left">&nbsp;</td>
                                <td style="width: 185px" align="left">
                                    <asp:Label ID="Label10" runat="server" Text="Label" Visible="False" class="texto" />
                                </td>
                                <td>&nbsp;</td>
                                <td>&nbsp;</td>
                                <td>&nbsp;</td>
                                <td>&nbsp;</td>
                            </tr>
                                <tr>
                                    <td>
                                        &nbsp;</td>
                                    <td class="label">
                                        <asp:Label ID="labelOProfesor" runat="server" ForeColor="Red" Text="*" 
                                            Visible="false" Width="16px" />
                                        <asp:Label ID="labelProfesor" runat="server" Text="Profesor" Visible="false" />
                                    </td>
                                    <td style="width: 185px">
                                        <asp:DropDownList ID="ddlProfesor" runat="server" AutoPostBack="true" 
                                            onselectedindexchanged="ddlProfesor_onselectedindexchanged" Visible="false" 
                                            Width="185">
                                            <asp:ListItem Value="0">- Seleccionar -</asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                    <td>
                                        &nbsp;</td>
                                    <td>
                                        <asp:Label ID="labelOHrsSelect" runat="server" ForeColor="Red" Text="*" 
                                            Visible="false" Width="8px" />
                                        <asp:Label ID="labelHrsSelect" runat="server" ForeColor="Red" 
                                            Text="Horas Prácticas Seleccionadas:" Visible="false" />
                                    </td>
                                    <td style="width: 100px">
                                        <asp:Label ID="labelNumHrsSelect" runat="server" ForeColor="Red" Text="0" 
                                            Visible="false" />
                                    </td>
                            </tr>
                            <tr>
                                <td colspan="6">
                                    <asp:GridView ID="gridViewModify" runat="server" AllowPaging="True" 
                                        CellPadding="4" ForeColor="#333333" GridLines="None" HorizontalAlign="Center" 
                                        onpageindexchanging="GridViewModify_PageIndexChanging" 
                                        onselectedindexchanged="GridViewModify_SelectedIndexChanged" PageSize="8" 
                                        selectedindex="0" Width="722px">
                                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                                        <Columns>
                                            <asp:CommandField AccessibleHeaderText="Seleccion" ButtonType="Image" 
                                                HeaderText="Modificar" SelectImageUrl="~/Presentacion/Imagenes/Text Edit.png" 
                                                SelectText="" ShowSelectButton="True" />
                                        </Columns>
                                        <EditRowStyle BackColor="#999999" HorizontalAlign="Center" 
                                            VerticalAlign="Middle" />
                                        <EmptyDataRowStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                                        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" HorizontalAlign="Center" 
                                            VerticalAlign="Middle" />
                                        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                                        <SortedAscendingCellStyle BackColor="#E9E7E2" />
                                        <SortedAscendingHeaderStyle BackColor="#506C8C" />
                                        <SortedDescendingCellStyle BackColor="#FFFDF8" />
                                        <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                                    </asp:GridView>
                                </td>
                            </tr>
                        </table>
                        <asp:Table ID="tableHorario" runat="server" align="center" BorderWidth="0" CellSpacing="0" Visible="false" >
                            <asp:TableRow HorizontalAlign="Center" BackColor="#5D7B9D" Font-Bold="True" ForeColor="White"  BorderWidth="0" >
                                <asp:TableCell Text="Dia" Width="100" />
                                <asp:TableCell Text="Lunes" Width="130" />
                                <asp:TableCell Text="Martes" Width="130" />
                                <asp:TableCell Text="Miercoles" Width="130" />
                                <asp:TableCell Text="Jueves" Width="130" />
                                <asp:TableCell Text="Viernes" Width="130" />
                            </asp:TableRow>
                            <asp:TableRow HorizontalAlign="center">
                                <asp:TableCell Text="Hora Inicio" BackColor="#E2DED6" ForeColor="#333333" />
                                <asp:TableCell>
        	                        <asp:DropDownList ID="ddlIniLun" runat="server" AutoPostBack="true" 
            	                    onselectedindexchanged="ddlIniLun_onselectedindexchanged">
            	                        <asp:ListItem Value="0">- Selecciona -</asp:ListItem>
         	                        </asp:DropDownList>
                                </asp:TableCell>
                                <asp:TableCell BackColor="#E2DED6" ForeColor="#333333">
                                    <asp:DropDownList ID="ddlIniMar" runat="server" AutoPostBack="true" 
                                    onselectedindexchanged="ddlIniMar_onselectedindexchanged" >
                                        <asp:ListItem Value="0">- Selecciona -</asp:ListItem>
                                    </asp:DropDownList>
                                </asp:TableCell>
                                <asp:TableCell>
                                    <asp:DropDownList ID="ddlIniMie" runat="server" AutoPostBack="true" 
                                    onselectedindexchanged="ddlIniMie_onselectedindexchanged">
                                        <asp:ListItem Value="0">- Selecciona -</asp:ListItem>
                                    </asp:DropDownList>
                                </asp:TableCell>
                                <asp:TableCell BackColor="#E2DED6" ForeColor="#333333">
                                    <asp:DropDownList ID="ddlIniJue" runat="server" AutoPostBack="true" 
                                    onselectedindexchanged="ddlIniJue_onselectedindexchanged" >
                                        <asp:ListItem Value="0">- Selecciona -</asp:ListItem>
                                    </asp:DropDownList>
                                </asp:TableCell>
                                <asp:TableCell>
                                    <asp:DropDownList ID="ddlIniVie" runat="server" AutoPostBack="true" 
                                    onselectedindexchanged="ddlIniVie_onselectedindexchanged">
                                        <asp:ListItem Value="0">- Selecciona -</asp:ListItem>
                                    </asp:DropDownList>
                                </asp:TableCell>
                            </asp:TableRow>
                            <asp:TableRow HorizontalAlign="Center" >
                                <asp:TableCell Text="Hora Fin" BackColor="#E2DED6" ForeColor="#333333" />
                                <asp:TableCell>
                                    <asp:DropDownList ID="ddlFinLun" runat="server" AutoPostBack="true" 
                                    onselectedindexchanged="ddlFinLun_onselectedindexchanged" Visible = "false" >
                                        <asp:ListItem Value="0">- Selecciona -</asp:ListItem>
                                    </asp:DropDownList>
                                </asp:TableCell>
                                <asp:TableCell BackColor="#E2DED6" ForeColor="#333333" >
                                    <asp:DropDownList ID="ddlFinMar" runat="server" AutoPostBack="true" 
                                    onselectedindexchanged="ddlFinMar_onselectedindexchanged" Visible = "false" >
                                        <asp:ListItem Value="0">- Selecciona -</asp:ListItem>
                                    </asp:DropDownList>
                                </asp:TableCell>
                                <asp:TableCell>
                                    <asp:DropDownList ID="ddlFinMie" runat="server" AutoPostBack="true" 
                                    onselectedindexchanged="ddlFinMie_onselectedindexchanged" Visible = "false" >
                                        <asp:ListItem Value="0">- Selecciona -</asp:ListItem>
                                    </asp:DropDownList>
                                </asp:TableCell>
                                <asp:TableCell BackColor="#E2DED6" ForeColor="#333333" >
                                    <asp:DropDownList ID="ddlFinJue" runat="server" AutoPostBack="true" 
                                    onselectedindexchanged="ddlFinJue_onselectedindexchanged" Visible = "false" >
                                        <asp:ListItem Value="0">- Selecciona -</asp:ListItem>
                                    </asp:DropDownList>
                                </asp:TableCell>
                                <asp:TableCell>
                                    <asp:DropDownList ID="ddlFinVie" runat="server" AutoPostBack="true" 
                                    onselectedindexchanged="ddlFinVie_onselectedindexchanged" Visible = "false" >
                                        <asp:ListItem Value="0">- Selecciona -</asp:ListItem>
                                    </asp:DropDownList>
                                </asp:TableCell>
                            </asp:TableRow>
                            <asp:TableRow HorizontalAlign="center" >
                                <asp:TableCell Text="Salones"  BackColor="#E2DED6" ForeColor="#333333"/>
                                <asp:TableCell>
                                    <asp:DropDownList ID="ddlSalonLun" runat="server" AutoPostBack="true" 
                                    onselectedindexchanged="ddlSalonLun_onselectedindexchanged" Visible = "false" >
                                        <asp:ListItem Value="0">- Selecciona -</asp:ListItem>
                                    </asp:DropDownList>
                                </asp:TableCell>
                                <asp:TableCell BackColor="#E2DED6" ForeColor="#333333">
                                    <asp:DropDownList ID="ddlSalonMar" runat="server" AutoPostBack="true" 
                                    onselectedindexchanged="ddlSalonMar_onselectedindexchanged" Visible = "false" >
                                        <asp:ListItem Value="0">- Selecciona -</asp:ListItem>
                                    </asp:DropDownList>
                                </asp:TableCell>
                                <asp:TableCell>
                                    <asp:DropDownList ID="ddlSalonMie" runat="server" AutoPostBack="true" 
                                    onselectedindexchanged="ddlSalonMie_onselectedindexchanged" Visible = "false" >
                                        <asp:ListItem Value="0">- Selecciona -</asp:ListItem>
                                    </asp:DropDownList>
                                </asp:TableCell>
                                <asp:TableCell BackColor="#E2DED6" ForeColor="#333333">
                                    <asp:DropDownList ID="ddlSalonJue" runat="server" AutoPostBack="true" 
                                    onselectedindexchanged="ddlSalonJue_onselectedindexchanged" Visible = "false" >
                                        <asp:ListItem Value="0">- Selecciona -</asp:ListItem>
                                    </asp:DropDownList>
                                </asp:TableCell>
                                <asp:TableCell>
                                    <asp:DropDownList ID="ddlSalonVie" runat="server" AutoPostBack="true" 
                                        onselectedindexchanged="ddlSalonVie_onselectedindexchanged" Visible = "false" >
                                        <asp:ListItem Value="0">- Selecciona -</asp:ListItem>
                                    </asp:DropDownList>
                                </asp:TableCell>
                            </asp:TableRow>
                        </asp:Table>
                        <br />
                    </fieldset></td>
            </tr>
            <tr>
                <td colspan="2" align="left">&nbsp;</td>                
            </tr>
        </table>
        <br />
        <table align="center" style="width: 100%;">
            <tr>
                <td width="45%" align="right">
                    <asp:Button ID="btnBackPractica" 
                    runat="server" CssClass="boton" Text="Cancelar" 
                    OnClick="btnBackPractica_Click" Visible = "false" />
                </td>
                <td width="10%">
                    <asp:Button ID="btnBackPracticaCenter" runat="server" CssClass="boton" 
                        OnClick="btnBackPractica_Click" Text="Cancelar" Visible="true" />
                </td>
                <td width="45%" align="left">
                    <asp:Button ID="btnNextPractica" 
                    runat="server" CssClass="boton" Text="Modificar" 
                    OnClick="btnNextPractica_Click" Visible = "false"
                    onClientClick="return confirm('¿Está seguro que desea modificar esta sección?')" />
                </td>
            </tr>
        </table>
        <br />
        <br />
        <br />
    </asp:Panel>
</asp:Content>
